/****************************************************************
 * I am the AC 130 vs Pirate game. I allow the user to control an 
 * AC130 gunship in the hunt for Modern day pirates. The player  
 * will be allowed to roam free across a section of ocean/coastline.  
 * In the water there will be four types of vessels: Merchant  
 * ships that the player must protect, Pirate ships that the player  
 * must identify and destroy, Fishing boats that look like Pirate  
 * ships that the player must not destroy, and Friendly Navy ships  
 * that can capture pirates for extra points. Time permitting there  
 * may also be ground targets to attack. 
 *
 * Key elements of this project will be the Player/AC130, the Ships,  
 * the ShipAI system, the collision grid, the debris controller, the  
 * Ground/Water, Clouds, and scoring system. This project will make  
 * use of an external text file to store useful game parameters,  
 * thus allowing us to play balance the game without recompiling  
 * the executable. 
 *****************************************************************
 * I am the Bullet class I contain all the information for one bullet
 * in game. I am used to pass information about bullets to outside 
 * sources. I am basicaly a data containter with the ability to self 
 * update. I rely on my controller to do animation.
 *****************************************************************/

#include "point.h"
#include <allegro.h>

#ifndef __BULLET_H__
#define __BULLET_H__

class Bullet{
public:
	Point * center;
	Point * trackEx;
	Point * helper;
	float dx;
	float dy;
	float angle;
	int timeOut;
	int loyalty;
	int type;

		// bullet stats, needed by the classes that process damage
	float turnRate;
	float speed;
	float dammage;
	float killRad;
	bool isTrack;
	BITMAP * blastMask; // pointer
	int maxAnim;
	

public:
	Bullet();
	~Bullet();

	void Update();
	bool isActive();
	bool isBoom();

	void setInactive();

};

#endif